package com.zdy.im.user.vo.request;


import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

/**
* @ClassName: ImMessageReadRequestVo.java
* @Description: 消息状态表的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
    * ----------------------------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    * ----------------------------------------------------------------------------
    * </p>
*/
public class ImMessageReadRequestVo extends RequestParserVo {


        private long id;
        private int pageNo;
        private int pageSize;


 		/** userId 用户id  */
 		@ApiDesc(value = "用户id", required = 0)
 		private long userId;

 		/** messageId 用户id，群组id  */
 		@ApiDesc(value = "用户id，群组id", required = 0)
 		private long messageId;

 		/** globalId 全局消息id  */
 		@ApiDesc(value = "全局消息id", required = 0)
 		private long globalId;

 		/** type 1用户 0 群组  */
 		@ApiDesc(value = "1用户 0 群组", required = 0)
 		private int type;





    public static ImMessageReadRequestVo build(){
        return new ImMessageReadRequestVo();
    }




 		public void setUserId( long userId){
 		 		this.userId = userId ; 
 		 		}
 		public ImMessageReadRequestVo toUserId( long userId){
 		 		this.userId = userId ; 
 		 		 return this ;
 		}

 		public long getUserId(){
 		 		return this.userId;
 		}

 		public void setMessageId( long messageId){
 		 		this.messageId = messageId ; 
 		 		}
 		public ImMessageReadRequestVo toMessageId( long messageId){
 		 		this.messageId = messageId ; 
 		 		 return this ;
 		}

 		public long getMessageId(){
 		 		return this.messageId;
 		}

 		public void setGlobalId( long globalId){
 		 		this.globalId = globalId ; 
 		 		}
 		public ImMessageReadRequestVo toGlobalId( long globalId){
 		 		this.globalId = globalId ; 
 		 		 return this ;
 		}

 		public long getGlobalId(){
 		 		return this.globalId;
 		}

 		public void setType( int type){
 		 		this.type = type ; 
 		 		}
 		public ImMessageReadRequestVo toType( int type){
 		 		this.type = type ; 
 		 		 return this ;
 		}

 		public int getType(){
 		 		return this.type;
 		}



        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public int getPageNo() {
             return pageNo;
        }

        public  ImMessageReadRequestVo setPageNo(int pageNo) {
            this.pageNo = pageNo;
            return this;
        }

        public int getPageSize() {
         return pageSize;
        }

        public  ImMessageReadRequestVo setPageSize(int pageSize) {
            this.pageSize = pageSize;
            return this;
        }


}
